package com.liu.dao;

import com.liu.entity.Working;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WorkingMapper {
//    根据id查询
    Working getInfoByID(@Param("id")int id);
//    根据title查询
    int getInfoByTitle(@Param("title") String title);
//    全查
    List<Working> getAll();
//    添加一条信息
    int addInfo(Working working);
}
